<template>
  <div id="app">
    <form action="/mock-api/user/login" method="post">
      <input type="text" name="user" placeholder="随意写" class="mr-10" v-model="form.user" />
      <input type="text" name="pass" placeholder="随意写" class="mr-10" v-model="form.pass" />
      <input type="submit" value="登录" />
    </form>
  </div>
</template>

<script>
export default {
  name: 'App',
  components: {},
  data() {
    return {
      form: {
        user: '',
        pass: ''
      }
    }
  }
}
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
